#pragma once

#ifndef _WIN_FILE_MGR_HPP_
#define _WIN_FILE_MGR_HPP_

#include "file_mgr.hpp"

class WinFileMgr : public FileMgr
{
public:
	WinFileMgr( const std::string & root ) {
		root_ = formatPath( root );
	}
	virtual FilePtr open( const std::string & name );
	virtual BinaryPtr read( const std::string & name );

	static FilePtr directOpen( const std::string & name );
	static BinaryPtr directRead( const std::string & name );
private:
	std::string root_;
};


#endif
